package com.inspection.service;

import com.inspection.entity.InspectionEventCorrectDO;
import com.inspection.entity.InspectionEventDO;
import com.inspection.model.dto.InspectionEventCorrectDTO;
import com.inspection.model.dto.InspectionEventCorrectQueryDTO;
import com.inspection.model.dto.InspectionEventDTO;
import com.inspection.model.dto.InspectionEventQueryDTO;
import org.springframework.data.domain.Page;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

public interface InspectionEventService {

   List<InspectionEventDO> queryEvent(InspectionEventQueryDTO query);

   void saveEvent(InspectionEventDTO save);

    Page<InspectionEventDO> pageEvent(InspectionEventQueryDTO page);

    void delEvent(InspectionEventDTO del);

    void updateEvent(InspectionEventDTO update);

    InspectionEventDO getEvent(InspectionEventDTO query);

    InspectionEventCorrectDO getEventCorrect(InspectionEventCorrectQueryDTO query);

    void correctEvent(InspectionEventCorrectDTO correct);

    void batchDelEvent(InspectionEventDTO del);

    void exportEvent(InspectionEventQueryDTO queryDTO, HttpServletResponse response);

    void approveEvent(InspectionEventDTO approve);
}
